package com.fjh.repository;

import com.fjh.pojo.TeachingClass;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TeachingClassRepository extends JpaRepository<TeachingClass, Long> {
    List<TeachingClass> findByName(String name);
}
